<?php ob_start(); ?>
<?php
// index.php file 
	include("rewriteURL.php");
	//$self = $_SERVER['PHP_SELF']; 
	//echo $self;
	//$url = new rewriteURL(); 
	//$url->friendlyURL("http://localhost/bid/bidProduct.php?pro_id=6");
	//$url->rewriteUrl($self);
    include_once("controller/controller.php");  
    
  
    $controller = new Controller();  

?>

	<div class="maincontent">
		<div id="header">
			<?php
				$controller->login();  
			?>
		</div>
		<div id="content">
			<div id="">
				<?php 
                	include_once 'view/featured-content-slider/index.html';
                ?>   		
            </div>
                <?php
					$controller->showProduct();  
                ?>
        </div>
        <div id="footer">
        	<?php
				$controller->footer();  
          	?>
		</div>
	</div>
